import { ElNotification } from 'element-plus';
import type { NotificationParams } from 'element-plus';

export function useNotification() {
    const notify = (type: 'success' | 'warning' | 'info' | 'error', message: string) => {
        ElNotification({
            type,
            message,
            duration: 3000
        });
    };

    return {
        notify
    };
} 